﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net.Mail;

namespace MyHttp.validator
{
    public class EmailValidator
    {
        public static String validate(String str)
        {
            try {
                MailAddress address = new MailAddress(str);
                return str;
            } catch (System.Exception ex) {
            	
            }
            return null;
        }
    }
}
